<template>
  <div id="home">

    <h1>{{ msg }}</h1>
    <h2>新闻组件</h2>

    <v-head ref="head"></v-head>


  </div>
</template>



<script>
import Head from "./head.vue";
export default {
  data() {
    return {
      msg: "新闻组件"
    };
  },
  methods: {},
  components: {
    "v-head": Head
  },
  mounted() {
    console.log("组件渲染完毕");
  }
};
</script>

<style lang="scss">
</style>